# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-cachecontrol
_realname=CacheControl
pkgver=0.12.10
pkgrel=1
pkgdesc="httplib2 caching for requests"
options="!check" # Later
url="https://github.com/ionrock/cachecontrol"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-requests py3-msgpack py3-lockfile"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
d9caf4f41c70e0ad3e183673944f7d1dc39c2b56cb0da40a00d673a29477bbca7a5728986e1ccdb5d7829b1ff2ce9469a524d20c66920f19f1ed24e12b920f65  CacheControl-0.12.10.tar.gz
"
